package com.bdqn.petmalldemo.bo;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author:彭俊
 * @description:宠物新增条件实体类
 * @date:2020/2/28 12:13
 */
@Data
@ApiModel
public class PetAddBo implements Serializable {
    private static final long serialVersionUID = -7393594466704117966L;

    private String id;
    private String  token;
    private String  name;
    private Integer categoryId;
    private BigDecimal price;
    private Integer stock;
    private String  subImage;
    private String detail;

    @Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }
}
